import http from '@/plugins/aixos'

export function findUser() {
  return http.request<UserModel>({
    url: `/user`,
    method: 'GET',
    headers: { Authorization: 'Bearer ' + localStorage.getItem('token') || '' },
  })
}
